<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		var arr1=[1,3,4,'hello',true]
		function fn(arr){
			var arr2=[];
			for(var i=1;i<arr.length;i++){
				arr2.push(arr1[i])
			}
			console.log(arr2)     
		}

		fn(arr1)
	</script>
</head>
<body>
	
</body>
</html>